﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace FanaticInstaller.Helpers
{
    public class NavigationHelper
    {
        #region uri

        public static Uri GetNavigationUri(DependencyObject obj)
        {
            return (Uri)obj.GetValue(NavigationUriProperty);
        }

        public static void SetNavigationUri(DependencyObject obj, Uri value)
        {
            obj.SetValue(NavigationUriProperty, value);
        }

        // Using a DependencyProperty as the backing store for NavigationUri.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty NavigationUriProperty =
            DependencyProperty.RegisterAttached("NavigationUri", typeof(Uri), typeof(NavigationHelper), new PropertyMetadata(null));

        #endregion
    }
}
